#pragma once

#include "Resource.h"

class CUIAboutDlg : public CDialogImpl<CUIAboutDlg>
{
public:
	enum { IDD = IDD_ABOUTBOX };

	BEGIN_MSG_MAP(CUIAboutDlg)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDOK, OnOkCancel)
		COMMAND_ID_HANDLER(IDCANCEL, OnOkCancel)
	END_MSG_MAP()

private:
	LRESULT OnInitDialog(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	LRESULT OnOkCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);

	void OnFinalMessage(HWND) override;
};
